﻿using System;
using System.Text;
using System.Net.Sockets;

namespace Borobudur.Platform
{
    public class StateObject
    {
        public const int BufferSize = 1024;
        
        public Socket RunningSocket { set; get; }
        public byte[] Buffer { set; get; }
        public StringBuilder Data { set; get; }

        public StateObject()
        {
            Buffer = new byte[BufferSize];
            Data = new StringBuilder();
        }
    }
}
